const mongoose = require('mongoose')

module.exports = new mongoose.Schema({
  todoName: {
    type: String,
    required: true,
    unique: true,
  },
  isDone: {
    type: Boolean,
    default: false,
  },
})
